﻿@{
    Layout = "/views/Shared/_LayoutPage1.cshtml";
    ViewBag.Title = "用户管理";
}
<link href="~/Content/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" />

<div class="table-wrapper products-table section">
    <div class="row-fluid head">
        <div class="span12">
            <h4>用户管理</h4>
        </div>
        <div class="row-fluid filter-block">
            <div class="pull-right">
                @*<div class="ui-select">
                        <select>
                            <option />Filter users
                            <option />Signed last 30 days
                            <option />Active users
                        </select>
                    </div>*@
                @*<input type="text" class="search" />*@
                <a class="btn-flat success new-product" href="javascript:User_operat.addUser()">+ 添加用户</a>
            </div>
            <div class="pull-left">
                <input type="text" class="search user-search" placeholder="查找登录名" id="UserSearch" />
            </div>
        </div>
        <div class="row-fluid" id="userlist">
            @Html.Action("UserList", new { pageindex = 1, pagesize = 20, callback = "User_operat.showList" })
        </div>
    </div>

</div>

<div id="modifyUserPhoto" style="display:none;">
    <input style="display:block;" type="text" id="modifyPhoto" />
    <input style="display:block;" type="button" value="修改" onclick="User_operat.modifyUserPhoto()" />
</div>

<div id="modifyPwdmedol" style="display:none;">
    当前密码：<input style="display:block;" id="opwd" type="password" />
    新密码：<input style="display:block;" id="pwd" type="password" />
    确认密码：<input style="display:block;" id="npwd" type="password" />
    <input style="display:block;" type="button" value="修改" onclick="User_operat.modifyPwd()" />
</div>
<div id="UserRolemedol" style="display:none;">
    <ul style="display:block;" id="UserRolemedol_list"></ul>
    <span style="display:block;">
        <input value="添加新角色" onclick="" />
    </span>
</div>
<div>
    <div id="userRolePannel" style="width: 630px; overflow: auto; border: 1px solid red; display: inline; float: left; display: none" class="ztree">
    </div>
</div>
<div id="addusermedol" style="display:none">
    <table>
        <tr>
            <td class="tr"> 登录名：</td>
            <td><input type="text" id="User_operat_addUser_userId" /></td>
        </tr>       
        <tr>
            <td class="tr"> 用户昵称：</td>
            <td><input type="text" id="User_operat_addUser_adduname" /></td>
        </tr>
        <tr>
            <td class="tr"> 是否启用：</td>
            <td><input type="checkbox" id="User_operat_addUser_status" /></td>
        </tr>
    </table>
</div>
<script src="~/Scripts/inc/jquery.ztree.all-3.5.min.js"></script>
<script src="/Scripts/core/User.js"></script>
<script>

</script>
